package com.acme.superchat.service.command;

import com.acme.superchat.service.server.ServerConnector;

/**
 * @author Gregory Sobko
 */
public class SndCommand implements Command {
    @Override
    public String getCommandPrefix() {
        return "/snd";  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void executeCommand(ServerConnector serverConnector, String command) {
        serverConnector.broadcast(command);
    }
}
